package com.wht.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wht.domain.DtsRole;

import java.util.List;
import java.util.Set;

/**
 * @author wanghaotian
 * time:2022/12/01,0001 22:16
 * description:
 */

public interface DtsRoleService {
    public Set<String> queryByIds(Integer[] roleIds);

    IPage<DtsRole> querySelective(String name, Integer page, Integer limit, String sort, String order);

    List<DtsRole> queryAll();

    DtsRole findById(Integer id);

    boolean chechExist(String name);

    void add(DtsRole role);

    void updateById(DtsRole role);
}
